package com.robotserver.orders.vo.jdcpsorder;

import java.math.BigDecimal;

/**
 * @Auther: jianghan
 * @Date: 2020/8/20 17:08
 * @Description:
 */
public class JdCpsSkuInfo {
    private Long skuId;
    private String skuName;
    private Integer skuNum;
    private Integer skuReturnNum;
    private Integer frozenSkuNum;
    private BigDecimal price;
    private BigDecimal payPrice;
    private BigDecimal commissionRate;
    private BigDecimal subSideRate;
    private BigDecimal subsidyRate;
    private BigDecimal finalRate;
    private BigDecimal estimateCosPrice;
    private BigDecimal estimateCommission;
    private BigDecimal estimateFee;
    private BigDecimal actualCosPrice;
    private BigDecimal actualCommission;
    private BigDecimal actualFee;

    private Integer traceType;
    private Long popId;
    private Long spId;
    private Long siteId;
    private String unionAlias;
    private String pid;
    private Integer unionTrafficGroup;
    private Integer orderEmt;
    private Long firstLevel;
    private Long secondLevel;
    private Long thirdLevel;
    private String subUnionId;
    private String unionTag;
    private Long cpActId;
    private Integer unionRole;
    private Long rowId;
    private Integer validCode;
    private String giftCouponKey;
    private BigDecimal giftCouponOcsAmount;

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }

    public String getSkuName() {
        return skuName;
    }

    public void setSkuName(String skuName) {
        this.skuName = skuName;
    }

    public Integer getSkuNum() {
        return skuNum;
    }

    public void setSkuNum(Integer skuNum) {
        this.skuNum = skuNum;
    }

    public Integer getSkuReturnNum() {
        return skuReturnNum;
    }

    public void setSkuReturnNum(Integer skuReturnNum) {
        this.skuReturnNum = skuReturnNum;
    }

    public Integer getFrozenSkuNum() {
        return frozenSkuNum;
    }

    public void setFrozenSkuNum(Integer frozenSkuNum) {
        this.frozenSkuNum = frozenSkuNum;
    }

    public BigDecimal getPrice() {
        if (price==null){
            return new BigDecimal(0);
        }
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getPayPrice() {
        if (payPrice==null){
            return new BigDecimal(0);
        }
        return payPrice;
    }

    public void setPayPrice(BigDecimal payPrice) {
        this.payPrice = payPrice;
    }

    public BigDecimal getCommissionRate() {
        if (commissionRate==null){
            return new BigDecimal(0);
        }
        return commissionRate;
    }

    public void setCommissionRate(BigDecimal commissionRate) {
        this.commissionRate = commissionRate;
    }

    public BigDecimal getSubSideRate() {
        if (subSideRate==null){
            return new BigDecimal(0);
        }
        return subSideRate;
    }

    public void setSubSideRate(BigDecimal subSideRate) {
        this.subSideRate = subSideRate;
    }

    public BigDecimal getSubsidyRate() {
        if (subsidyRate==null){
            return new BigDecimal(0);
        }
        return subsidyRate;
    }

    public void setSubsidyRate(BigDecimal subsidyRate) {
        this.subsidyRate = subsidyRate;
    }

    public BigDecimal getFinalRate() {
        if (finalRate==null){
            return new BigDecimal(0);
        }
        return finalRate;
    }

    public void setFinalRate(BigDecimal finalRate) {
        this.finalRate = finalRate;
    }

    public BigDecimal getEstimateCosPrice() {
        if (estimateCosPrice==null){
            return new BigDecimal(0);
        }
        return estimateCosPrice;
    }

    public void setEstimateCosPrice(BigDecimal estimateCosPrice) {
        this.estimateCosPrice = estimateCosPrice;
    }

    public BigDecimal getEstimateCommission() {
        if (estimateCommission==null){
            return new BigDecimal(0);
        }
        return estimateCommission;
    }

    public void setEstimateCommission(BigDecimal estimateCommission) {
        this.estimateCommission = estimateCommission;
    }

    public BigDecimal getEstimateFee() {
        if (estimateFee==null){
            return new BigDecimal(0);
        }
        return estimateFee;
    }

    public void setEstimateFee(BigDecimal estimateFee) {
        this.estimateFee = estimateFee;
    }

    public BigDecimal getActualCosPrice() {
        if (actualCosPrice==null){
            return new BigDecimal(0);
        }
        return actualCosPrice;
    }

    public void setActualCosPrice(BigDecimal actualCosPrice) {
        this.actualCosPrice = actualCosPrice;
    }

    public BigDecimal getActualCommission() {
        if (actualCommission==null){
            return new BigDecimal(0);
        }
        return actualCommission;
    }

    public void setActualCommission(BigDecimal actualCommission) {
        this.actualCommission = actualCommission;
    }

    public BigDecimal getActualFee() {
        if (actualFee==null){
            return new BigDecimal(0);
        }
        return actualFee;
    }

    public void setActualFee(BigDecimal actualFee) {
        this.actualFee = actualFee;
    }

    public Integer getTraceType() {
        return traceType;
    }

    public void setTraceType(Integer traceType) {
        this.traceType = traceType;
    }

    public Long getPopId() {
        return popId;
    }

    public void setPopId(Long popId) {
        this.popId = popId;
    }

    public Long getSpId() {
        return spId;
    }

    public void setSpId(Long spId) {
        this.spId = spId;
    }

    public Long getSiteId() {
        return siteId;
    }

    public void setSiteId(Long siteId) {
        this.siteId = siteId;
    }

    public String getUnionAlias() {
        return unionAlias;
    }

    public void setUnionAlias(String unionAlias) {
        this.unionAlias = unionAlias;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public Integer getUnionTrafficGroup() {
        return unionTrafficGroup;
    }

    public void setUnionTrafficGroup(Integer unionTrafficGroup) {
        this.unionTrafficGroup = unionTrafficGroup;
    }

    public Integer getOrderEmt() {
        return orderEmt;
    }

    public void setOrderEmt(Integer orderEmt) {
        this.orderEmt = orderEmt;
    }

    public Long getFirstLevel() {
        return firstLevel;
    }

    public void setFirstLevel(Long firstLevel) {
        this.firstLevel = firstLevel;
    }

    public Long getSecondLevel() {
        return secondLevel;
    }

    public void setSecondLevel(Long secondLevel) {
        this.secondLevel = secondLevel;
    }

    public Long getThirdLevel() {
        return thirdLevel;
    }

    public void setThirdLevel(Long thirdLevel) {
        this.thirdLevel = thirdLevel;
    }

    public String getSubUnionId() {
        return subUnionId;
    }

    public void setSubUnionId(String subUnionId) {
        this.subUnionId = subUnionId;
    }

    public String getUnionTag() {
        return unionTag;
    }

    public void setUnionTag(String unionTag) {
        this.unionTag = unionTag;
    }

    public Long getCpActId() {
        return cpActId;
    }

    public void setCpActId(Long cpActId) {
        this.cpActId = cpActId;
    }

    public Integer getUnionRole() {
        return unionRole;
    }

    public void setUnionRole(Integer unionRole) {
        this.unionRole = unionRole;
    }

    public Long getRowId() {
        return rowId;
    }

    public void setRowId(Long rowId) {
        this.rowId = rowId;
    }

    public Integer getValidCode() {
        return validCode;
    }

    public void setValidCode(Integer validCode) {
        this.validCode = validCode;
    }

    public String getGiftCouponKey() {
        return giftCouponKey;
    }

    public void setGiftCouponKey(String giftCouponKey) {
        this.giftCouponKey = giftCouponKey;
    }

    public BigDecimal getGiftCouponOcsAmount() {
        if (giftCouponOcsAmount==null){
            return new BigDecimal(0);
        }
        return giftCouponOcsAmount;
    }

    public void setGiftCouponOcsAmount(BigDecimal giftCouponOcsAmount) {
        this.giftCouponOcsAmount = giftCouponOcsAmount;
    }
}
